home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_74.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  135KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | reckoner | sky | tree | windowpane
OCR: I-70 Mops Tutorial :class ANGLE super{ int 7 2 > SIN get: self sin 74 TT COS get: self Cos 75 ;class How the sine table works Let's start with the Sin source code, which is numbered from lines 1 to 72. Lines 1-5 These lines are comments that serves as a plain English heading for the source code describing what this module does who wrote it and what its main features are This particular modlule cre ates a table of sine values that Turtle will use to draw complex curves and graphics We use the "backslash type of comment here in which word consisting of just backslash causes Mops ignore the rest tof that line Line This line causes Mops to load (compile the file "struct1' if it is not already loaded. This file contains the definitions for the classes wArray and bArray which we will need here T ...